
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Anonym.Data.Entities
{
    /// <summary>
    /// 用户组
    /// </summary>
    public class Cms_UserGroup
    {
        
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long ID { get; set; } = 0;

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 特殊权限
        /// </summary>
        public long KeyValue { get; set; } = 0;

        /// <summary>
        /// 状态；0：正常，1：停用
        /// </summary>
        public int State { get; set; } = 0;

        /// <summary>
        /// 是否超级管理员；0：否，1：是
        /// </summary>
        public int IsSuper { get; set; } = 0;

        /// <summary>
        /// 公司id
        /// </summary>
        public long CompanyId { get; set; } = 0;

        /// <summary>
        /// 创建人id
        /// </summary>
        public long CreatorUserId { get; set; } = 0;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; } = new DateTime(1900,1,1);

    }
}

